package com.woniuxy.car.commodity.service.core.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 评论图片表
 * </p>
 *
 * @author awz
 * @since 2022-03-02
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("kc_comment_pic")
@ApiModel(value = "CommentPic对象", description = "评论图片表")
public class CommentPic implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("商品评论表id")
    private Integer commentId;

    @ApiModelProperty("漂亮图片链接")
    private String picUrl;

    @ApiModelProperty("创建人id")
    private Integer creator;

    @ApiModelProperty("修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("修改人id")
    private Integer updator;

}
